#pragma once
#include <iostream>
#include <string>


#include "TcpConnection.h"

using TcpConnectionPtr = std::shared_ptr<TcpConnection>;
class MyTask
{
private:
    std::string _msg;
    TcpConnectionPtr _conn;
public:
    MyTask(TcpConnectionPtr conn, const std::string & msg);
    ~MyTask()=default;

    void process();

};